home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
8bitfiles.net/archives
/
archives.tar
/
archives
/
compuserve-file-archive
/
09 Application Software
/
SEQINS.DOC
< prev
next >
Wrap
Text File
|
2019-04-13
|
7KB
|
144 lines
Instructions for adding sequential read/write to Original SpeedScript and to
SpeedScript 1.1. Original SpeedScript should have been already modified with
the SpeedScript customizer, published in COMPUTE!S GAZETTE. While this may not
be necessary, I have not been able to try it with an unmodified version.
To perform the modification, first load your present version of SpeedScript.
Then, in direct mode (no line number), type the following:
POKE44,36:POKE9216,0:POKE9217,0:NEW
and press the RETURN button.
If you try to run the loader without first loading SpeedScript and entering the
above line, the loader will print the line for you on the screen, and tell you
to load SpeedScript, then place your cursor on the line that was printed, and
press RETURN. After doing so, you may then re-load and run your loader program
which will now work correctly. Once running, you will be asked which version
of SpeedScript you have. It is VERY important to answer this question
correctly, as several memory locations are different between the 2 versions and
the loader has to know this. The loader is set to work with the magazine
version. If you have the book version, the program has to modify itself, and
you will see this happen on screen. The screen will clear, It will print:
350
920
910 DATA XXXX,XXXX,9999
(note that the x's mean numbers will be there in their place. I just can't
remember what they are for sure).
That will be a brief happening, and then you will have an opportunity to
pre-set your border, screen, and letter colors, since you will be able to have
split border/screen color.
After completing this, the additional code will be added to SpeedScript itself.
Since line-feeds are not convertable to SpeedScript code, you are given the
option of how you would like them converted. The two options are: convert to
spaces, or: convert to returns. I personally convert them to spaces so that
the original line spacing is preserved. Then you will be asked for a new
program name, and what device you want it saved to. You will not be able to
save it under the same program name if you put it on the same disk.
When this process is completed, load SpeedScript and read the SS file maked
INSTRUCTIONS to learn about the new functions added to SpeedScript.
Instructions for modified SpeedScript
modified by: Steve Hammer
SpeedScript and modified SpeedScript are essentially the same, with one
exception! The modified version, in addition to SpeedScripts many fine
features, has the ability to load and save sequential files, in either ASCII or
PET ASCII formats. There was also a subroutine added to place a border around
the text, and give seperate control to both the border and background colors.
Sequential filing.
The use of sequential filing is as simple as using SpeedScript's load
andsave functions. To get into sequential filing mode, type a CONTROL F (hold
the CONTROL button down while pressing the letter F). The first time through,
a short by-line will appear, and will then be disabled for the rest of the
duration SpeedScript is in use. After the banner, you will be asked if you
wish to load or save a sequential file. Respond here with either an 'L' or an
'S'. If you got here by mistake, press return to abort. There are only two
places in the Load and Save functions that a return will not abort the process,
and there are at least two opportunities after that time to abort, so you will
not be locked in once you have come here. Next prompt is for a file type.
Either 'A' for ASCII or 'P' for PET ASCII. This is one of those times where
abort is not possible. 'A' or 'P' are the only valid responses, with all
others being ignored. We will deal with loading first. The next query you
will receive will be 'Load:'. Enter the file name, or return to abort. Then,
as with SpeedScript, respond to the Tape or Disk prompt. Anything other than a
correct response will abort here. If the file is found, it will be loaded and
converted. Disk errors on load are noted in the command line, and control is
returned to SpeedScript. Note that the Sequential filing code will
automatically add the ',s,r' or ',s,w' whichever is appropriate when using the
disk drive.
If saving a file, in addition to the above prompts, you will be asked:
Line Length (RETURN=as-is)?
This is the editing command. If you want to leave the text as it appears on
the screen, respond with a return. This tells the code that no editing is
required. Where this ability comes in handy, is when you are using the text
file to be uploded to a bulletin board or other system that has a maximum
acceptable line length. If you desire line editing you may respond with a
number up to 255. Any three-digit number greater than that will result in
erronious line lengths, and numbers with four or more digits simply are not
accepted. In any case, line lengths will never be longer than the number you
input. The results of this will be seen when the screen re-appears, as all
returns inserted in the text will remain. If after saving a file the cursor
does not appear after the screen returns, press the home key twice. Saving a
sequential file messes with some of the SpeedScript pointer, and hitting the
home key twice will restore them. If an error occurs on the disk during the
writing process, do a CONTROL (up arrow) and a return to read the error.
Screen and Border Controls
If you find it desirable to have a border around the text, while using
SpeedScript in normal mode (meaning not during the sequential filing process),
type a CONTROL W. The prompts and actions are self-explanitory from here.
While in Screen-Border mode, SpeedScript's CONTROL B command changes the border
color only. And when returning to normal operation, the screen will become the
color of the border. A little experimentation here will give you some idea
what you like best. The screen color is stored at memory location 9251.
Default is Black. If you would like a different screen background color for
default, poke that location will the color number of your choosing. The
default Border color is stored at memory location 2408. Default here is Black
too. Your favorite color may be poked here also. After making these pokes,
you will have to re-save your copy of SpeedScript. If you are brave, use the
save "@0:programme name". Otherwise re-name and save it.
Other Comments.
Loading a sequential file operates the same as SpeedScripts load in that
it will permit appending of files. If you have two or more files to be added
together, places the cursor at the point the new file should be added, and
enter the sequential load function with a control F, just as if you were
loading a regular SpeedScript file. And load the file. It will erase any text
after the cursor, and if the amount added is shorter than the original, the
remainder will appear after the added file, but will not be accessable.
Any comments or questions? Write, call or Email me.
Steve Hammer
115 1/2 W. 6th St.
Muscatine, Ia. 52761
(319) 263-2162
Compuserve ID:74776,1570